package org.corey.share.db.service;

import org.corey.share.db.entity.Article;
import org.corey.share.misc.PageData;

public interface ArticleService {
	public Article loadArticle(Long id);
	public boolean modifyArticle(Article article);
	public boolean deleteArticle(Long id);
	public boolean writeArticle(Article article);
	public PageData<Article> loadArticlesInDate(int pageSize,int pageIndex,int year,int month);
	public boolean deleteArticles(Long[] ids);
	public PageData<Article> loadAllArticles(int pageSize,int pageIndex,Long Catogory);
}
